﻿using System;
using DapperExtensions.Mapper;

namespace ZilLion.Task.Domain.Taskmanager.Entity
{
    [Serializable]
    public class TaskConfig 
    {
        private short _isDeleted;
        private string _taskAction=string.Empty;
        private string _taskExpression = string.Empty;
        private string _taskid = string.Empty;
        private string _taskModule = string.Empty;
        private string _taskmoduleId = string.Empty;

        private string _taskname = string.Empty;
        private string _taskParam = string.Empty;
        private string _taskRemark = string.Empty;
        private DateTime _updateTime;

        /// <summary>
        ///     作业ID
        /// </summary>
        public string Taskid
        {
            get { return _taskid; }
            set
            {
                _taskid = value;
                
            }
        }

        /// <summary>
        ///     作业名称
        /// </summary>
       
        public string Taskname
        {
            get { return _taskname; }
            set
            {
                _taskname = value;
            
            }
        }

        /// <summary>
        ///     作业说明
        /// </summary>
        public string TaskRemark
        {
            get { return _taskRemark; }
            set
            {
                _taskRemark = value;
               
            }
        }

        /// <summary>
        ///     作业模块名（决定使用哪个程序集）
        /// </summary>
        
        public string TaskModule
        {
            get { return _taskModule; }
            set
            {
                _taskModule = value;
               
            }
        }

        /// <summary>
        ///     模块ID
        /// </summary>
      
        public string TaskmoduleId
        {
            get { return _taskmoduleId; }
            set
            {
                _taskmoduleId = value;
              
            }
        }

        /// <summary>
        ///     作业Action名（决定使用哪个策略类）
        /// </summary>
        
        public string TaskAction
        {
            get { return _taskAction; }
            set
            {
                _taskAction = value;
                
            }
        }

        /// <summary>
        ///     作业参数
        /// </summary>
        public string TaskParam
        {
            get { return _taskParam; }
            set
            {
                _taskParam = value;
                
            }
        }

        /// <summary>
        ///     作业执行时间表达式
        /// </summary>
       
        public string TaskExpression
        {
            get { return _taskExpression; }
            set
            {
                _taskExpression = value;
               
            }
        }

        /// <summary>
        ///     任务更新时间
        /// </summary>
        public DateTime UpdateTime
        {
            get { return _updateTime; }
            set
            {
                _updateTime = value;
                
            }
        }

        /// <summary>
        /// </summary>
        public short IsDeleted
        {
            get { return _isDeleted; }
            set
            {
                _isDeleted = value;
                
            }
        }
    }

  
}